-
Home
-
ActivityPub
-
7.3.0
-
Code
-
Classes
- Moderation
Total Complexity |
56 |
Dependencies |
4 |
Dependents |
9 |
Total lines |
374 |
Lines of code |
177 |
Logical lines of code |
113 |
Comment lines |
137 |
Methods |
11 |
Properties |
0 |
Methods 11
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
check_activity_against_blocks() |
A |
42 |
14 |
52 |
is_actor_blocked() |
A |
53 |
9 |
23 |
remove_user_block() |
S |
56 |
6 |
17 |
add_user_block() |
S |
57 |
6 |
16 |
remove_site_block() |
S |
56 |
5 |
17 |
add_site_block() |
S |
57 |
5 |
16 |
activity_is_blocked() |
S |
58 |
5 |
14 |
get_user_blocks() |
S |
66 |
3 |
7 |
activity_is_blocked_site_wide() |
S |
74 |
1 |
4 |
activity_is_blocked_for_user() |
S |
73 |
1 |
4 |
get_site_blocks() |
S |
67 |
1 |
7 |